package com.olt.server.dto;


import lombok.Data;

@Data
public class SelectDto<T> {

    T value ;
    String label;
    String key;

    public SelectDto(T value, String label, String key) {
        this.value = value;
        this.label = label;
        this.key = key;
    }

    public SelectDto(){}

    public  SelectDto<String> toStringSelect(){
        return new SelectDto<>(value.toString(), label, key);
    }


}
